package com.hf.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author eight
 * @since 2021-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Users对象", description = "")
public class Users implements Serializable {

	private static final long serialVersionUID = 1L;

	private String loginName;
	private String password;

	@ApiModelProperty(value = "0：未锁定 1：锁定")
	private Integer isLockOut;

	@ApiModelProperty(value = "账号窗机时间")
	private String creatTime;

	@ApiModelProperty(value = "最后登录时间")
	private String lastLoginTime;

	@ApiModelProperty(value = "输入错误密码次数")
	private Integer psdWrongNum;

	@ApiModelProperty(value = "锁定时间")
	private String lockTime;

	@ApiModelProperty(value = "密保手机号")
	private String protectPhone;

	@ApiModelProperty(value = "密保邮箱")
	private String protectEmail;

	@ApiModelProperty(value = "是否分配")
	private String isFenpei;

	@ApiModelProperty(value = "是否签到")
	private String isQiandao;

	@ApiModelProperty(value = "权重")
	private Integer weight;
	@TableId(type = IdType.AUTO)
	private Integer id;

	@TableField(exist = false) // 此注解表示数据库中不存在的字段
	private String signOnTime;

	@TableField(exist = false) // 此注解表示数据库中不存在的字段
	private String signOffTime;

	@TableField(exist = false) // 此注解表示数据库中不存在的字段
	private String isSignon;

	@TableField(exist = false) // 此注解表示数据库中不存在的字段
	private String isSignoff;
}
